package jass.iss.edu.Properties;

import java.util.Date;

public class JobAdvertisementDTO extends PropertiesDTO  {
	
	public JobAdvertisementDTO(String id) {
		super(id);
	}

	private String position;
	private String referenceID;
	private String jobDescription;
	private String requirements;
	private Date advertisedDate;
	private Date closingDate;
	private String salaryRange;
	private String alternateDescription;
	private String jobAdvertStatus;
	private Date postedDate;
	private String responsibilities;
	
	public String getPosition() {
		if (position == null){return "";}
		return position;
	}
	public void setPosition(String position) {
		this.position = position;
	}
	public String getReferenceID() {
		if (referenceID == null){return "";}
		return referenceID;
	}
	public void setReferenceID(String referenceID) {
		this.referenceID = referenceID;
	}
	public String getJobDescription() {
		if (jobDescription == null){return "";}
		return jobDescription;
	}
	public void setJobDescription(String jobDescription) {
		this.jobDescription = jobDescription;
	}
	public String getRequirements() {
		if (requirements == null){return "";}
		return requirements;
	}
	public void setRequirements(String requirements) {
		this.requirements = requirements;
	}
	public Date getAdvertisedDate() {
		if (advertisedDate == null){
			return new Date();
			}
		return advertisedDate;
	}
	public void setAdvertisedDate(Date advertisedDate) {
		this.advertisedDate = advertisedDate;
	}
	public Date getClosingDate() {
		if (closingDate == null){
			return new Date();
			}
		return closingDate;
	}
	public void setClosingDate(Date closingDate) {
		this.closingDate = closingDate;
	}
	public String getSalaryRange() {
		if (salaryRange == null){return "";}
		return salaryRange;
	}
	public void setSalaryRange(String salaryRange) {
		this.salaryRange = salaryRange;
	}
	public String getAlternateDescription() {
		if (alternateDescription == null){return "";}
		return alternateDescription;
	}
	public void setAlternateDescription(String alternateDescription) {
		this.alternateDescription = alternateDescription;
	}
	public String getJobAdvertStatus() {
		if (jobAdvertStatus == null){return "";}
		return jobAdvertStatus;
	}
	public void setJobAdvertStatus(String jobAdvertStatus) {
		this.jobAdvertStatus = jobAdvertStatus;
	}
	public Date getPostedDate() {
		if (postedDate == null){
			return new Date();
			}
		return postedDate;
	}
	public void setPostedDate(Date postedDate) {
		this.postedDate = postedDate;
	}
	public String getResponsibilities() {
		if (responsibilities == null){return "";}
		return responsibilities;
	}
	public void setResponsibilities(String responsibilities) {

		this.responsibilities = responsibilities;
	}
	

	

}
